package com.itheima.tanhua.api;

import com.itheima.tanhua.domain.Answer;

import java.util.List;
import java.util.Map;

/**
 * @author Lff
 * @date 2022/4/8
 */
public interface AnswerApi {

    Map<Long, List<Answer>> findAnswerToMap(List<String> problemIds);

    /**
     * 根据答案编号查询对应的分值
     * @param answerIds
     * @return
     */
    List<Answer> findAnswerByIds(List<Long> answerIds);

}
